package com.yc.jpyy.company.service;

import java.util.List;
import java.util.Map;
import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.util.PageBean;

public interface CompanyService {
	//PageBean findCompanyDao(@Param("companyInfo") String companyInfo) throws DataAccessException;

	String addCompanyDao(Map<String, Object> companyInfo) throws Exception;

	int updateCompanyDao(Map<String, Object> companyInfo) throws DataAccessException;

	int delCompanyServer(Map<String, Object> info) throws DataAccessException;
	
	int delforUpdateCompanyServer(Map<String, Object> info) throws DataAccessException;

	Map<String, Object> findCompanyByID(Map<String, Object> info) throws DataAccessException;
	
	//分页查询
    PageBean findCompanyDao(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findCompanyDaoCount(Map<String, Object> paramsMap)throws DataAccessException;
    
   
    
    int findExistsByNameServer(Map<String, Object> paramsMap)throws DataAccessException;// 1 存在  0不存在
    
    List findCompanyNameServer(Map<String, Object> paramsMap)throws DataAccessException;
    
    List<Map<String, Object>> findSumDriverCountAndSumCarCountByID(Map<String, Object> paramsMap)throws DataAccessException;

	Map<String, Object> getArchivesNo(Map<String, Object> info) throws DataAccessException;
	
	Map<String, Object> findCompanySelect(Map<String, Object> info) throws DataAccessException;
	
	Map<String, Object> updateCompanyLicenseDate(Map<String, Object> paramsMap)throws DataAccessException;// 1 存在  0不存在
}